package cn.ehanghai.iot.back.mapper;

import cn.ehanghai.iot.back.domain.UserInfo;
import cn.ehanghai.iot.common.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: xumf
 * @Date: 2019/6/26 17:26
 */
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    /**
     * 获取用户列表
     *
     * @return
     */
    List<UserInfo> getUserInfoList(Map<String, Object> map);

    /**
     * 获取数量
     *
     * @param map
     * @return
     */
    int getUserInfoCount(Map<String, Object> map);

    UserInfo getByUserInfo(String openId);
}
